;(function($){
	this.infoObj = function(){
		var infoChange;
		var facetDis;
		
		var initData = function(){
			
		};
		
		var loadEvent = function(){
			infoChange.on('click',jumpChange);
			faceDis.hover(function(){
				$(this).find('.profileinfo-facedit').show();
			},function(){
				$(this).find('.profileinfo-facedit').hide();
			});
		};

		var jumpChange = function(){
			if(this === infoChange[0]){
				$('body').append('<div class="blackbox"></div>');
				$('.dialog').show();
				$('.dialog-close.icon-close , .modifyname-cancel').on('click',function(){
					$('.dialog').hide();
					$('.blackbox').remove();
				});
			}else{
				$('.mainshow.info').hide();
				$('.mainshow.security').show();
			}
		}
		
		return {
			run:function(){
				infoChange = $('.profileinfo-link');
				faceDis = $('.info .profileinfo-face');
				initData();
				loadEvent();
			}
		};
	}();

})(jQuery);